package com.mec.taskassign.service;


import com.mec.taskassign.model.Place;
import org.springframework.web.bind.annotation.RequestBody;


import java.util.List;

public interface PlaceService {
    List<Place> findAllPlaces();
    List<Place> queryPlacesBySearchBox(int page,int limit,String inputValue);

    List<Place> queryAllDataFromTable(int page, int limit);
    List<Place> queryObligatoryForm(int page,int limit);
    List<Place> querySelectableForm(int page,int limit);
    List<Place> queryForbiddenForm(int page,int limit);
    List<Place> findObligatoryPlaces();
    List<Place> findSelectablePlaces();
    Place getPlaceById(Integer id);
    void addTask(Place place);


    int queryAllCount();
    int queryCertainCount(int pri);
    int querySearchCount(String inputValue);

    void delete(Integer id);
    void reset(Place place);


}
